package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.GoodsOrderAccountDetailDAO;
import top.zywork.dos.GoodsOrderAccountDetailDO;
import top.zywork.dto.GoodsOrderAccountDetailDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.GoodsOrderAccountDetailService;

import javax.annotation.PostConstruct;

/**
 * GoodsOrderAccountDetailServiceImpl服务接口实现类<br/>
 *
 * 创建于2019-07-30<br/>
 *
 * @author http://zywork.top 王振宇
 * @version 1.0
 */
@Service(value = "goodsOrderAccountDetailService")
public class GoodsOrderAccountDetailServiceImpl extends AbstractBaseService implements GoodsOrderAccountDetailService {

    private GoodsOrderAccountDetailDAO goodsOrderAccountDetailDAO;

    @Autowired
    public void setGoodsOrderAccountDetailDAO(GoodsOrderAccountDetailDAO goodsOrderAccountDetailDAO) {
        super.setBaseDAO(goodsOrderAccountDetailDAO);
        this.goodsOrderAccountDetailDAO = goodsOrderAccountDetailDAO;
    }

    @PostConstruct
    public void init() {
        super.init(GoodsOrderAccountDetailDO.class, GoodsOrderAccountDetailDTO.class);
    }
}
